import { Provide } from '@midwayjs/core';
import { ServicesImpl } from '../impl';
import { InjectEntityModel } from '@midwayjs/typeorm';
import { Repository } from 'typeorm';
import { ProcessFiles } from '../../model/process_files/process_files';

@Provide()
export class ProcessFilesService extends ServicesImpl {
  /**
   * 覆盖实体
   */
  @InjectEntityModel(ProcessFiles)
  services: Repository<ProcessFiles>;

  /**
   * 重写关系
   */
  relations: Array<string>;

  constructor() {
    super();
    this.relations = [];
  }
}
